π fix linkedin link #15
This file contains 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: ci | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS π | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install Deps 𧩠| |
run: npm install | |
- name: Build π¦ | |
run: npm run build | |
- name: Add CNAME Entry π | |
run: echo "dvjn.is-not-a.dev" > ./dist/CNAME | |
- name: Deploy π | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./dist | |
commit_message: ":rocket: ${{ github.event.head_commit.message }}" |