mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-21 05:09:23 +00:00
Fixes https://github.com/tailscale/github-action/issues/59 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
27 lines
521 B
YAML
27 lines
521 B
YAML
name: tailscale
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Tailscale Action
|
|
uses: ./
|
|
with:
|
|
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
|
|
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
|
|
tags: tag:ci
|
|
|
|
- name: check for hello.ts.net in netmap
|
|
run:
|
|
tailscale status | grep -q hello
|