Horje
environment variables with react and github pages Code Example
environment variables with react and github pages
name: Deploy to GitHub Pages
    on:
      push:
        branches:
          - master
    jobs:
      build-and-deploy:
        runs-on: ubuntu-latest
        steps:
        - name: Checkout
          uses: actions/checkout@v1

        - name: Build
          run: |
            npm install
            npm run-script build
          env:
            REACT_APP_INSTAGRAM_ACCESS_TOKEN: ${{ secrets.REACT_APP_INSTAGRAM_ACCESS_TOKEN }}
            REACT_APP_SMTP_SECURE_TOKEN: ${{ secrets.REACT_APP_SMTP_SECURE_TOKEN }}

        - name: Deploy
          uses: JamesIves/github-pages-deploy-action@releases/v3
          with:
            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN_KEY }}
            BRANCH: gh-pages
            FOLDER: dist




Shell

Related
git how to make shallow clone with all branches Code Example git how to make shallow clone with all branches Code Example
ZTC ZEM800 telnet password Code Example ZTC ZEM800 telnet password Code Example
how to download text file from github Code Example how to download text file from github Code Example
how to grep if the first letter is a character not a number Code Example how to grep if the first letter is a character not a number Code Example
check folders sizes linux Code Example check folders sizes linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14