actions #10
This file contains hidden or 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 website UIs | |
| on: | |
| push: | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| concurrency: | |
| group: github-pages | |
| cancel-in-progress: false | |
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # install gulp | |
| - name: Install Gulp locally to build the UI | |
| run: npm i gulp-cli | |
| # build en website | |
| - name: Build en UI | |
| run: gulp bundle -f /en/gulpfile.js | |
| # build fr website | |
| - name: Build fr UI | |
| run: gulp bundle -f ./fr/gulpfile.js | |
| # download UIs | |
| - name: 'Upload Artifact' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ui-bundles | |
| path: "**/*.zip" |