this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

🔥 Get rid of gh-pages-based deployment

Now using vercel

-107
-73
.github/workflows/publish.yml
··· 1 - # Copy pasted from portfolio-build-* repositories for ease of access 2 - # Does nothing here 3 - 4 - name: Deploy to GitHub Pages 5 - 6 - on: 7 - workflow_dispatch: 8 - repository_dispatch: 9 - types: 10 - - build 11 - 12 - permissions: 13 - contents: write 14 - 15 - 16 - jobs: 17 - build: 18 - permissions: 19 - contents: write 20 - 21 - runs-on: ubuntu-latest 22 - 23 - environment: 24 - name: Beta, ${{ github.event.client_payload.language }} subdomain 25 - url: https://beta.${{ github.event.client_payload.lang }}.gwen.works 26 - 27 - steps: 28 - - name: Checkout repository 29 - uses: actions/checkout@v4 30 - 31 - - name: Checkout source code repository 32 - uses: actions/checkout@v4 33 - with: 34 - repository: gwennlbh/portfolio 35 - path: source 36 - ref: ${{ github.event.client_payload.ref }} 37 - 38 - - name: Set up Node.js 39 - uses: actions/setup-node@v4 40 - with: 41 - node-version: "22.16.0" 42 - 43 - - name: Install dependencies 44 - run: cd source; npm install 45 - 46 - - name: Cache wakatime API response 47 - uses: actions/cache@v4 48 - with: 49 - key: wakatime 50 - path: source/.wakatime-cache.json 51 - 52 - - name: Build project 53 - run: cd source && npm run build 54 - env: 55 - LANG: ${{ github.event.client_payload.lang }} 56 - LOCALE: ${{ github.event.client_payload.locale }} 57 - BUILD_COMMIT: ${{ github.event.client_payload.ref }} 58 - 59 - - name: Save cached wakatime API response 60 - uses: actions/cache/save@v4 61 - with: 62 - key: wakatime 63 - path: source/.wakatime-cache.json 64 - 65 - - name: Deploy to GitHub Pages 66 - uses: JamesIves/github-pages-deploy-action@v4 67 - with: 68 - folder: source/dist # The folder the action should deploy. 69 - 70 - - name: Echo out URL 71 - run: echo Deployed to https://beta.$LANG.gwen.works 72 - env: 73 - LANG: ${{ github.event.client_payload.lang }}
-34
.github/workflows/trigger-publish.yml
··· 1 - name: Trigger build and deploy 2 - 3 - on: 4 - workflow_dispatch: 5 - push: 6 - branches: 7 - - main 8 - 9 - jobs: 10 - trigger: 11 - name: ${{ matrix.locale }} 12 - runs-on: ubuntu-latest 13 - strategy: 14 - matrix: 15 - include: 16 - - { lang: en, language: english, locale: en-US } 17 - - { lang: fr, language: french, locale: fr-FR } 18 - environment: 19 - name: ${{ matrix.locale }} build repository 20 - url: https://github.com/gwennlbh/portfolio-build-${{ matrix.lang }}/actions 21 - steps: 22 - - name: Dispatch workflow 23 - uses: peter-evans/repository-dispatch@v3 24 - with: 25 - repository: gwennlbh/portfolio-build-${{ matrix.lang }} 26 - event-type: build 27 - client-payload: '{ 28 - "ref": "${{ github.sha }}", 29 - "lang": "${{ matrix.lang }}", 30 - "language": "${{ matrix.language }}", 31 - "locale": "${{ matrix.locale }}" 32 - }' 33 - token: ${{ secrets.REPOSITORY_DISPATCH_PAT }} 34 -