Skip to content

Commit

Permalink
Add actions checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
erinysong committed Feb 16, 2024
1 parent e0b6b7e commit 06a664f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-gov-zone-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ jobs:
update_zone_file:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download gov.txt.gz
env:
ICANN_USERNAME: ${{ secrets[env.ICANN_USERNAME] }}
ICANN_PASSWORD: ${{ secrets[env.ICANN_PASSWORD] }}
run: |
chmod +x /scripts/download_zone_file.sh
/scripts/download_zone_file.sh ${{ secrets[env.ICANN_USERNAME] }} ${{ secrets[env.ICANN_PASSWORD] }}
chmod +x ./scripts/download_zone_file.sh
./scripts/download_zone_file.sh ${{ secrets[env.ICANN_USERNAME] }} ${{ secrets[env.ICANN_PASSWORD] }}
shell: sh
# Uploads the .gov zone file to Github artifact gov_zone_file
- name: Upload retrieved .gov zone file
Expand Down

0 comments on commit 06a664f

Please sign in to comment.