Skip to content

Commit

Permalink
fix: ci branch
Browse files Browse the repository at this point in the history
  • Loading branch information
amritk committed Mar 29, 2024
1 parent 04bc30b commit 33a9723
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ['main']

branches:
- master
# 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:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
group: pages
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
Expand All @@ -34,7 +30,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
Expand All @@ -45,7 +41,7 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
# Upload dist folder
path: './dist'
path: ./dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 33a9723

Please sign in to comment.