Skip to content

Merge pull request #131 from AbraaoAlves/patch-1 #23

Merge pull request #131 from AbraaoAlves/patch-1

Merge pull request #131 from AbraaoAlves/patch-1 #23

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.PAGES_UPDATE_TOKEN }}
folder: build
repository-name: typescript-exercises/typescript-exercises.github.io