domain changed in cname #60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy with GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - '**' # all other branches | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Upload static site | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: ./ | |
| deploy: | |
| environment: | |
| name: github-pages | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment_development | |
| if: github.ref != 'refs/heads/master' | |
| uses: actions/deploy-pages@v4 | |
| with: | |
| cname: ankitved.in |