ghpages icon indicating copy to clipboard operation
ghpages copied to clipboard

migrate to a node.js action

Open maxheld83 opened this issue 6 years ago • 4 comments

maybe this can be a "host" aka "js" action?

Doesn't seem like this would really need a docker container.

maxheld83 avatar Aug 14 '19 13:08 maxheld83

asked support whether they were planning on doing this anyway.

maxheld83 avatar Aug 14 '19 13:08 maxheld83

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?

kayvanbree avatar Aug 19 '19 17:08 kayvanbree

@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 avatar Sep 14 '19 01:09 alex-page

@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!

maxheld83 avatar Sep 24 '19 14:09 maxheld83