troubleshoot
Some checks failed
/ Deploy blog to deuterium (push) Failing after 29s

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2024-11-21 19:59:42 -05:00
parent f764009234
commit 25e2aa6398

View file

@ -8,7 +8,7 @@ jobs:
runs-on: docker runs-on: docker
container: container:
image: node:lts-bullseye image: node:lts-bullseye
options: --cap-add=NET_ADMIN --device=/dev/net/tun options: "--cap-add=NET_ADMIN --device=/dev/net/tun"
name: Deploy blog to deuterium name: Deploy blog to deuterium
env: env:
MACHINE: deuterium MACHINE: deuterium
@ -18,10 +18,11 @@ jobs:
with: with:
go-version: '>=1.23.0' go-version: '>=1.23.0'
uses: https://code.forgejo.org/actions/setup-go@v5 uses: https://code.forgejo.org/actions/setup-go@v5
- name: Install sudo - name: Install tailscale deps
id: sudo id: deps
run: | run: |
apt update && apt install sudo apt update && apt install sudo iptables-nft
ls /dev/net
- name: Setup Tailscale - name: Setup Tailscale
id: tailscale id: tailscale
uses: https://github.com/tailscale/github-action@v2 uses: https://github.com/tailscale/github-action@v2
@ -29,6 +30,11 @@ jobs:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_CLIENT_SECRET }} oauth-secret: ${{ secrets.TS_OAUTH_CLIENT_SECRET }}
tags: tag:public tags: tag:public
- name: See what happened to tailscale
id: failscale
if: failure()
run: |
cat ~/tailscaled.log
- name: Add SSH key - name: Add SSH key
id: ssh id: ssh
env: env: