migrate to a node.js action
maybe this can be a "host" aka "js" action?
Doesn't seem like this would really need a docker container.
asked support whether they were planning on doing this anyway.
Right now it doesn't work for yml. It gives the following error:
error: src refspec @github.com/<user>/<repo>.git does not match any.
That was after using this config:
on: push
name: Build and publish
jobs:
install:
name: Install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install
uses: actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680
with:
args: install
- name: Build
uses: actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680
with:
args: run build --prod
- name: Deploy to GitHub Pages
uses: maxheld83/[email protected]
env:
BUILD_DIR : dist/f10k
GH_PAT: ${{ secrets.GH_PAT }}
I don't know if this is useful. I'm new to actions, but they changed it that this action can't run on the new format, right?
@maxheld83 I made my own repository for now using JS. If you are interested in moving to JS I would be happy to close my action and create some pull requests:
https://github.com/alex-page/blazing-fast-gh-pages-deploy
@alex-page sorry for taking so long. Yes, that would be amazing, I'd love to join forces on this!
It seems to me that this really ought to be a JS action, not a container action – so please, PR away!