Skip to content

raidski20 is deploying Leetify-Kifahi #16

raidski20 is deploying Leetify-Kifahi

raidski20 is deploying Leetify-Kifahi #16

Workflow file for this run

name: "Build & deploy Leetify-Kifahi"
run-name: ${{ github.actor }} is deploying Leetify-Kifahi
on:
push:
branches:
- master
concurrency:
group: "build-&-deploy"
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Setup Node.js"
uses: actions/setup-node@v3
with:
node-version: 18
- name: "Install dependencies"
run: npm install
- name: Build
run: npm run build
- name: "Deploy to Netlify"
uses: nwtgck/[email protected]
with:
publish-dir: "./dist"
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploying from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}