From 7364dce4cbc219f2936817a2ee3aafb1d2c4dc8c Mon Sep 17 00:00:00 2001 From: alexlynd <22926680+AlexLynd@users.noreply.github.com> Date: Fri, 15 Dec 2023 00:54:49 -0800 Subject: [PATCH] test cred --- .github/deploy-github.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/deploy-github.yml diff --git a/.github/deploy-github.yml b/.github/deploy-github.yml new file mode 100644 index 0000000..a7732c0 --- /dev/null +++ b/.github/deploy-github.yml @@ -0,0 +1,31 @@ +name: GitHub Pages + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' + cache: 'npm' + + - name: Install dependencies + run: npm install + + # - name: Check for linting errors + # run: npm test + + - name: Build production website + run: npm run build + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public \ No newline at end of file