diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4385d9..dc13286 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,4 +18,10 @@ jobs: run: npm install - name: Build Tailwind CSS - run: make tailwind \ No newline at end of file + run: make tailwind + + - name: Upload Artifacts + id: deployment + uses: actions/upload-pages-artifact@v3 + with: + path: src/ \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..8a3db1d --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,18 @@ +name: Deploy + +on: + push: + branches: + - 'main' + +jobs: + deploy: + runs-on: ubuntu-latest + + permissions: + pages: write + id-token: write + + steps: + - name: Deploy to Github Pages + uses: actions/deploy-pages@v4 \ No newline at end of file