This repository has been archived by the owner on May 10, 2024. It is now read-only.
surajk95 is testing out GitHub Actions π #2
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: GitHub Actions Demo | |
run-name: ${{ github.actor }} is testing out GitHub Actions π | |
on: | |
push: | |
branches: [ source ] | |
jobs: | |
Rebuild-site: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: Install dependencies | |
run: npm ci --legacy-peer-deps | |
- name: Deploy | |
run: npm run deploy | |