Deploy Surge Websites #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Surge Websites | |
on: | |
release: | |
workflow_dispatch: | |
schedule: | |
- cron: "59 */12 1 1,4,7,10 *" | |
jobs: | |
deploy-target: | |
name: Deploy Target Entry | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
uses: dswistowski/surge-sh-action@v1 | |
with: | |
domain: 'practice-landings-catalog.surge.sh' | |
project: './target/build' | |
login: ${{ secrets.SURGE_LOGIN }} | |
token: ${{ secrets.SURGE_TOKEN }} | |
deploy-betting-template: | |
name: Deploy Betting Template | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/betting-template/build practice-landings-betting-template.surge.sh --token ${{ secrets.SURGE_TOKEN }} | |
deploy-headphones: | |
name: Deploy Headphones | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/headphones/build practice-landings-headphones.surge.sh --token ${{ secrets.SURGE_TOKEN }} | |
deploy-legal-adviser: | |
name: Deploy Legal Adviser | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/legal-adviser/build practice-landings-legal-adviser.surge.sh --token ${{ secrets.SURGE_TOKEN }} | |
deploy-medicine-integration-template: | |
name: Deploy Medicine Integration Template | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/medicine-integration-template/build practice-landings-medicine-integration-template.surge.sh --token ${{ secrets.SURGE_TOKEN }} | |
deploy-nature-trips-template: | |
name: Deploy Nature Trips Template | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/nature-trips-template/build practice-landings-nature-trips-template.surge.sh --token ${{ secrets.SURGE_TOKEN }} | |
deploy-neumorphism-charts: | |
name: Deploy Neumorphism Charts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/neumorphism-charts/build practice-landings-neumorphism-charts.surge.sh --token ${{ secrets.SURGE_TOKEN }} | |
deploy-restaurant-food: | |
name: Deploy Restaurant Food | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/restaurant-food/build practice-landings-restaurant-food.surge.sh --token ${{ secrets.SURGE_TOKEN }} | |
deploy-technology-integration-template: | |
name: Deploy Technology Integration Template | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/technology-integration-template/build practice-landings-technology-integration-template.surge.sh --token ${{ secrets.SURGE_TOKEN }} | |
deploy-ui-business-template: | |
name: Deploy UI Business Template | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 16 | |
- name: Install surge | |
run: npm install --global surge | |
- name: Run Surge | |
run: surge ./docs/ui-business-template/build practice-landings-ui-business-template.surge.sh --token ${{ secrets.SURGE_TOKEN }} |