Skip to content

Add more ssh sources #32

Add more ssh sources

Add more ssh sources #32

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: ./pre-commit
build:
name: Build list
runs-on: ubuntu-latest
needs: [test]
if: ${{ github.event_name == 'push' }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: main
- uses: actions/checkout@v4
with:
ref: build
path: public
- name: Build list
run: ./build.sh
- name: Push
uses: actions-js/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: public
branch: build