fix: Medium cards thumbnails (#1063) #138
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
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# We want all the history to display the last updated date in pages | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npm run build | |
env: | |
MATOMO_SITE_ID: ${{ secrets.MATOMO_SITE_ID }} | |
MATOMO_SITE_URL: ${{ secrets.MATOMO_SITE_URL }} | |
- run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/italia/designers.italia.it | |
echo designers.italia.it > public/CNAME | |
npm run deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |