Skip to content

Trouble publishing to other repo #243

Closed
@IronSean

Description

@IronSean

Describe the Issue

I'm trying to publish from MyOrg/MyRepo to MyOrg/myorg.github.io and can not get it to work. Publishing to a local gh-pages branch worked fine, but you can't use a gh-pages branch for an org website.

Logs

##[debug]Evaluating condition for step: 'Deploy 🚀'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Deploy 🚀
##[debug]Loading inputs
##[debug]Evaluating: secrets.SEAN_DEPLOYMENT_PAT
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'SEAN_DEPLOYMENT_PAT'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run JamesIves/github-pages-deploy-action@releases/v3
Checking configuration and starting deployment… 🚦
Deploying using Access Token… 🔑
Configuring git…
/usr/bin/git init
Reinitialized existing Git repository in /home/runner/work/TorqIT-next/TorqIT-next/.git/
/usr/bin/git config user.name IronSean
/usr/bin/git config user.email seanrmackay@gmail.com
/usr/bin/git remote rm origin
/usr/bin/git remote add origin ***github.com/TorqIT/torqit.github.io.git
/usr/bin/git fetch
remote: Repository not found.

Additional Comments

Here is my workflow

name: Node.js CI

on:
  push:
    branches: [ master ]
#   pull_request:
#     branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.x]

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - run: npm ci
    - run: npm run build --if-present
    - run: npm test
    - run: npm run export
      env:
        CI: true
    - name: Deploy 🚀
      uses: JamesIves/github-pages-deploy-action@releases/v3
      with:
        ACCESS_TOKEN: ${{ secrets.SEAN_DEPLOYMENT_PAT }}
        REPOSITORY_NAME: TorqIT/torqit.github.io
        BRANCH: master # The branch the action should deploy to.
        FOLDER: out # The folder the action should deploy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    researching 📒Currently researching potential fixes.version 3Issues related to version 3 of this action.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions