From 9715bc350e25d861bf4d17fdc8ee1e1857de5325 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Fri, 24 Nov 2023 16:28:45 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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: