Skip to content

Use icaltime function #21

Use icaltime function

Use icaltime function #21

Workflow file for this run

name: Build and deploy
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build
- name: Set up ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Add leb.harries.name as known host
run: "cp .github/workflows/known_hosts ~/.ssh"
- name: Deploy
run: |
rsync proms *.tmpl style.css [email protected]:proms/
ssh [email protected] sudo systemctl restart proms