Skip to content

chore: Restore dictionary to an app #1247

chore: Restore dictionary to an app

chore: Restore dictionary to an app #1247

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