Skip to content

Commit

Permalink
update workflow to resolve job name conflict
Browse files Browse the repository at this point in the history
and indentation issues

close #25
  • Loading branch information
jaylenw committed Mar 12, 2024
1 parent c162cb1 commit 866913b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/BuildNDeployDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on: # run this workflow when a push has been made to `development` branch
types: [dev_triggered_from_open-sdg-data-starter]

jobs:
deploy:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
Expand All @@ -34,12 +34,12 @@ jobs:
run: zip -r _site.zip _site

- name: Upload site artifact # only upload the zip if the push was made to the development branch
if: ${{ github.ref == 'refs/heads/development' }}
uses: actions/upload-artifact@v4
with:
name: site-deployment-dev
path: _site.zip
retention-days: 1 # delete the artifact after 1 day
if: ${{ github.ref == 'refs/heads/development' }}
uses: actions/upload-artifact@v4
with:
name: site-deployment-dev
path: _site.zip
retention-days: 1 # delete the artifact after 1 day

deploy:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 866913b

Please sign in to comment.