Skip to content

Commit

Permalink
deploy to github pages
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Leszczynski <[email protected]>
  • Loading branch information
pawel-big-lebowski committed Aug 26, 2024
1 parent 5ff3ff2 commit ac21294
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/site_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build & Deploy spec to Github Pages

on:
pull_request:
branches:
- main
push:
branches:
- main

permissions:
pages: write
id-token: write

jobs:
site-deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
cache-dependency-path: website/package-lock.json
- name: Build website
run: |
cd website
yarn build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Dependencies
node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# intellij
.idea

argos/screenshots
argos/test-results

0 comments on commit ac21294

Please sign in to comment.