diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 4904aa8..eb71936 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -34,12 +34,19 @@ jobs: contents: read pages: write id-token: write + environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Add CNAME file + run: echo "togglight.derveydylan.github.io" > dist/togglight/browser/CNAME + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 \ No newline at end of file