Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
srhea hugo ver a209b6e Dec 23, 2019
0 contributors

Users who have contributed to this file

28 lines (20 sloc) 605 Bytes
name: Deploy to Workers Prod
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Download Hugo
run: sudo wget https://github.com/gohugoio/hugo/releases/download/v0.62.0/hugo_0.62.0_Linux-64bit.deb
- name: Install Hugo
run: sudo dpkg -i hugo_0.62.0_Linux-64bit.deb
- name: Install Wrangler
run: sudo npm i @cloudflare/wrangler -g
- name: Build
run: hugo
- name: config wrangler
run: CF_API_TOKEN=${{ secrets.CF_API_TOKEN }} wrangler publish
You can’t perform that action at this time.