a cache for slack profile pictures and emojis
at v0.3.2 809 B view raw
1on: 2 push: 3 branches: 4 - main 5 workflow_dispatch: 6jobs: 7 deploy: 8 runs-on: ubuntu-latest 9 steps: 10 - uses: actions/checkout@v3 11 - name: Setup Tailscale 12 uses: tailscale/github-action@v3 13 with: 14 oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} 15 oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} 16 tags: tag:ci 17 use-cache: "true" 18 - name: Configure SSH 19 run: | 20 mkdir -p ~/.ssh 21 echo "StrictHostKeyChecking no" >> ~/.ssh/config 22 - name: file commands 23 run: | 24 ssh kierank@ember << 'EOF' 25 cd ~/cachet 26 git fetch --all 27 git reset --hard origin/main 28 ~/.bun/bin/bun install 29 sudo /usr/bin/systemctl restart cachet.service 30 EOF