Skip to content

Commit

Permalink
minor workflow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArielMant0 committed Oct 24, 2023
1 parent 933645c commit 4a925b0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Deploy

on:
workflow_dispatch: {}
# Runs on pushes targeting the default branch
push:
branches:
- main
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
Expand All @@ -25,19 +28,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install dependencies
run: npm install --frozen-lockfile
run: npm install
- name: Build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down

0 comments on commit 4a925b0

Please sign in to comment.