This repository has been archived by the owner on May 1, 2024. It is now read-only.
deploy-latest-log #2496
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-latest-log | |
on: | |
schedule: | |
- cron: '0 */6 * * 1-5' | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
NEW_INFECTED_URL: ${{ secrets.NEW_INFECTED_URL }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies 👨🏻💻 | |
run: npm ci --prefer-offline --no-audit | |
- name: Run build 🏗 | |
run: npm run build | |
- name: Run export 🚢 | |
run: npm run export | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: out # The folder the action should deploy. |