Skip to content

WhatsApp deep link added instead of WApp web link #25

WhatsApp deep link added instead of WApp web link

WhatsApp deep link added instead of WApp web link #25

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize]
jobs:
avoid_reduncy:
runs-on: ubuntu-22.04
steps:
- name: Cancel Previous Redundant Builds
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
deploy:
permissions: write-all
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
- name: install dependencies
run: npm ci
- name: build
run: npm run build
env:
SERVER: pre-production
REPO: ${{github.event.repository.name}}
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx gh-pages -d dist -b deploy -u "CaperAsDev <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}