Skip to content

chore: update resume #9

chore: update resume

chore: update resume #9

Workflow file for this run

name: Deployment Workflow
on:
push:
branches:
- "main"
jobs:
deploy:
name: Deploying
# needs: [test, lint]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-
${{ runner.OS }}-
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Publish
run: npx wrangler publish
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}