Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Deploy to umich AFS

Actions
Publish a webpage from on a GitHub repository
v2
Star (0)

Tags

 (1)

This action will keep your remote personal webspace in sync with a GitHub repository.

Note: the entire public/html directory is replaced; remote files will be deleted if they are not present in GitHub.

There are two environment variables that must be set:

  1. UNIQNAME which can be a simple string
  2. SSHPASS which must be created as an encrypted secret

Example .github/workflows/main.yml

on:
  push:
    branches:
      - master
jobs:
  deploy:
    runs-on: ubuntu-latest
    name: checkout and rsync
    steps:
      - uses: actions/checkout@v2
      - uses: dctalbot/umich-afs-action@v2
        env:
          UNIQNAME: 'dctalbot'
          SSHPASS: ${{ secrets.SSHPASS }}

Disclaimer: Read the code (see entrypoint.sh) before running it. Use at your own risk.

Deploy to umich AFS is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Publish a webpage from on a GitHub repository
v2

Tags

 (1)

Deploy to umich AFS is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.