diff --git a/.github/workflows/site_deploy.yml b/.github/workflows/site_deploy.yml new file mode 100644 index 0000000..9237b4f --- /dev/null +++ b/.github/workflows/site_deploy.yml @@ -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: package-lock.json + - name: Install dependencies + run: yarn install --frozen-lockfile + - name: Build website + run: 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 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bea5c40 --- /dev/null +++ b/.gitignore @@ -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 \ No newline at end of file