diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4da41c6..b18ae06 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,8 @@ on: permissions: id-token: write pages: write + deployments: write + contents: write env: ALGOLIA_APP_NAME: TFI39P0622 @@ -22,6 +24,7 @@ env: CONFIG_JSON_PRODUCT: LARAVEL-LANG CONFIG_JSON_VERSION: 5.x INSTANCE: docs/laravel-lang + DOMAIN: laravel-lang.com jobs: build: @@ -115,6 +118,9 @@ jobs: with: args: unzip -qq ${{ env.ARTIFACT }} -d dir + - name: Create CNAME + run: echo ${{ env.domain }} >> CNAME + - name: Deploy to GitHub Pages uses: crazy-max/ghaction-github-pages@v4 with: