Skip to content

Commit

Permalink
Merge pull request #50 from github/pin-action-version
Browse files Browse the repository at this point in the history
  • Loading branch information
peckjon authored Nov 13, 2024
2 parents e091ce2 + 3c29e18 commit 6943809
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion content/what-the-hack/Coach/create-azure-resources.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
on: [workflow_dispatch]
name: Create Azure resources
permissions:
contents: read
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:

# Checkout code
- uses: actions/checkout@main
- uses: actions/checkout@v4

# Log into Azure
- uses: azure/login@v1
Expand Down
6 changes: 5 additions & 1 deletion content/what-the-hack/Coach/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ on:
- main
name: Deploy to Azure

permissions:
contents: read
id-token: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to Azure
uses: azure/login@v1
Expand Down

0 comments on commit 6943809

Please sign in to comment.