Skip to content

Deploy

Deploy #832

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
schedule:
- cron: '0 0 * * *' # daily at midnight
jobs:
deploy-msteams:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create build dir
run: mkdir -p build
- name: Generate msteams.lsrules
run: "./gen-msteams > build/msteams.lsrules"
- name: Generate msteams-new.lsrules
run: "./gen-msteams-new > build/msteams-new.lsrules"
- name: Generate skype.lsrules
run: "./gen-skype > build/skype.lsrules"
- name: Check the time
id: time
run: echo "now=$(date --rfc-3339=seconds)" >> $GITHUB_OUTPUT
- name: Publish msteams.lsrules
uses: popsiclestick/[email protected]
with:
auth: ${{ secrets.GIST_TOKEN }}
gist_url: https://gist.github.com/maxim/2ae0a2b68bb6ae053ee0a72e57e4e34d
gist_title: msteams.lsrules
gist_description: Little Snitch rules for Microsoft Teams classic, updated at ${{ steps.time.outputs.now }}.
github_file: ./build/msteams.lsrules
- name: Publish msteams-new.lsrules
uses: popsiclestick/[email protected]
with:
auth: ${{ secrets.GIST_TOKEN }}
gist_url: https://gist.github.com/maxim/885e395b7d6cd2991790c0f3167326ee
gist_title: msteams-new.lsrules
gist_description: Little Snitch rules for Microsoft Teams, updated at ${{ steps.time.outputs.now }}.
github_file: ./build/msteams-new.lsrules
- name: Publish skype.lsrules
uses: popsiclestick/[email protected]
with:
auth: ${{ secrets.GIST_TOKEN }}
gist_url: https://gist.github.com/maxim/48753f090f99f21e6091a62e0b56311e
gist_title: skype.lsrules
gist_description: Little Snitch rules for Skype, updated at ${{ steps.time.outputs.now }}.
github_file: ./build/skype.lsrules