Skip to content

Add CodeQL workflow for GitHub code scanning (#52) #44

Add CodeQL workflow for GitHub code scanning (#52)

Add CodeQL workflow for GitHub code scanning (#52) #44

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: yarn install --frozen-lockfile
- run: yarn clean
- run: yarn build
- run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/teamdigitale/identitadigitale.gov.it.git
echo identitadigitale.gov.it > public/CNAME
yarn deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}