Skip to content

Catch stat error

Catch stat error #71

Workflow file for this run

---
name: codespaces
on:
push:
branches:
- master
jobs:
dotfiles:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: webfactory/[email protected]
with:
ssh-private-key: >-
${{ secrets.DEPLOY_KEY_SSH_CONFIG }}
${{ secrets.DEPLOY_KEY_TMUXINATOR_PROFILES }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v3
id: import_gpg
with:
git-user-signingkey: true
git-commit-gpgsign: true
git-committer-name: ${{ secrets.GIT_USER_NAME }}
git-committer-email: ${{ secrets.GIT_USER_EMAIL }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run codespaces
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.CODESPACES_DEPLOY_KEY }}
publish_dir: .codespaces
enable_jekyll: true
keep_files: false
external_repository: razor-x/codespaces-dotfiles
publish_branch: master
user_name: ${{ secrets.GIT_USER_NAME }}
user_email: ${{ secrets.GIT_USER_EMAIL }}