diff --git a/.github/workflows/gallery.yaml b/.github/workflows/design_deployment.yaml similarity index 88% rename from .github/workflows/gallery.yaml rename to .github/workflows/design_deployment.yaml index 9d50bbec0f..e152f7b4c1 100644 --- a/.github/workflows/gallery.yaml +++ b/.github/workflows/design_deployment.yaml @@ -1,4 +1,4 @@ -name: Gallery +name: Design deployment on: workflow_dispatch: @@ -12,25 +12,29 @@ env: jobs: deploy: runs-on: ubuntu-latest - environment: - name: Production - url: ${{ steps.deploy.outputs.NETLIFY_URL }} + environment: + name: Design + url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL }} steps: - name: Check out files from GitHub uses: actions/checkout@v3 + - name: Set up Node ${{ env.NODE_VERSION }} uses: actions/setup-node@v3 with: node-version: ${{ env.NODE_VERSION }} cache: yarn + - name: Install dependencies run: yarn install env: CI: true + - name: Build Gallery run: ./node_modules/.bin/gulp build-gallery env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Deploy to Netlify id: deploy uses: netlify/actions/cli@master