Skip to content

Commit

Permalink
test: test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sankhadeepdutta committed Oct 1, 2024
1 parent c1ce1d5 commit 1c161bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main # Set a branch to deploy
- develop
- test-staging
schedule:
- cron: 0 13 * * 1 # At 13:00 on Monday

Expand Down Expand Up @@ -66,12 +67,12 @@ jobs:

# IF develop
- name: Build
if: ${{ github.ref == 'refs/heads/develop' }}
if: ${{ github.ref == 'refs/heads/test-staging' }}
run: hugo -e staging

- name: Deploy to Netlify
uses: netlify/actions/cli@master
if: ${{ github.ref == 'refs/heads/develop' }}
if: ${{ github.ref == 'refs/heads/test-staging' }}
with:
args: deploy --dir=public --prod # Update 'dist' to your build output folder
env:
Expand Down

0 comments on commit 1c161bf

Please sign in to comment.