Skip to content

feat: replace twitter with x #6

feat: replace twitter with x

feat: replace twitter with x #6

name: Build and deploy
on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
build-and-deploy:
name: Build and deploy
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- name: Build
run: npm run build
- name: Setup pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist/'
- name: Deploy
id: deploy
uses: actions/deploy-pages@v4