From 5681a47ae98d1bd7c8fdf325fdc1b4f7075b0cee Mon Sep 17 00:00:00 2001 From: Kristian Takvam Date: Mon, 6 Oct 2025 17:58:38 +0200 Subject: [PATCH] Add deployment workflow --- .github/FUNDING.yml | 1 - .github/workflows/deploy.yml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) delete mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/deploy.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index c86742e..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -#github: reednel \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..08a1da2 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,25 @@ +name: Deploy site to GitHub Pages +on: + push: + branches: + - main # or your default branch + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '22' + + - run: npm install + + - run: npm run build + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist