chore: Restore dictionary to an app #1247
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: build the websites | |
concurrency: | |
group: build-the-website | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- name: use node javascript | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
- name: Configure Cloudsmith | |
env: | |
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} | |
run: | | |
npm config set registry=https://npm.packages.ft.com/financial-times-internal-releases/ | |
npm config set //npm.packages.ft.com/financial-times-internal-releases/:_authToken=${CLOUDSMITH_API_KEY} | |
- name: Install node modules | |
run: npm ci | |
- run: bash ./scripts/build-website.bash | |
- run: touch ./origami.ft.com/.nojekyll | |
- name: deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: origami.ft.com | |
folder: origami.ft.com |