Giter Site home page Giter Site logo

Error about github-actions-deploy-aur HOT 7 CLOSED

ksxgithub avatar ksxgithub commented on July 3, 2024
Error

from github-actions-deploy-aur.

Comments (7)

KSXGitHub avatar KSXGitHub commented on July 3, 2024

Can you give me more context? Such as your workflow file, full error messages, etc.

from github-actions-deploy-aur.

SquitchYT avatar SquitchYT commented on July 3, 2024

Hello, thanks you for the response.
that is my workflow file :

jobs: 
    pkgbuild: 
        runs-on: ubuntu-latest 
        steps: 
          - uses: actions/checkout@v2 
          
          - name: Update PKGBUILD 
            uses: 2m/[email protected] 
            with: 
              target: 'pkgbuild' 
              pkgname: 'tess-git' 
          - name: Publish AUR package 
            uses: KSXGitHub/[email protected] 
            with: 
              pkgname: tess-git 
              pkgbuild: tess-git/PKGBUILD 
              commit_username: ${{ secrets.AUR_USERNAME }} 
              commit_email: ${{ secrets.AUR_EMAIL }} 
              ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} 
              commit_message: Update AUR package 
              ssh_keyscan_types: rsa

All log :

Cloning into '/tmp/local-repo'...
  POST git-upload-pack (227 bytes)
  Note: switching to 'b736e7703e93fa8613db3be372a9fc92ef9a0d5b'.
  
  You are in 'detached HEAD' state. You can look around, make experimental
  changes and commit them, and you can discard any commits you make in this
  state without impacting any branches by switching back to a branch.
  
  If you want to create a new branch to retain commits you create, you may
  do so (now or later) by using -c with the switch command. Example:
  
    git switch -c <new-branch-name>
  
  Or undo this operation with:
  
    git switch -
  
  Turn off this advice by setting config variable advice.detachedHead to false

Copying PKGBUILD...
  '/PKGBUILD' -> './PKGBUILD'
  Updating .SRCINFO

add '.SRCINFO'
  add 'PKGBUILD'
  [detached HEAD d9cb073] Update AUR package
   2 files changed, 2 insertions(+), 2 deletions(-)
  Pushing to ssh://aur.archlinux.org/tess-git.git
  error: src refspec master does not match any
  error: failed to push some refs to 'ssh://aur.archlinux.org/tess-git.git'

from github-actions-deploy-aur.

KSXGitHub avatar KSXGitHub commented on July 3, 2024

Your configuration appears normal, except ssh_keyscan_types which usually is rsa,dsa,ecdsa,ed25519. The log isn't normal at all, but it does not tell the source of the error.

So I have 2 requests for you:

  1. Can you try changing ssh_keyscan_types to rsa,dsa,ecdsa,ed25519?
  2. If your project is open source, can you provide me a direct link to your repo?

from github-actions-deploy-aur.

KSXGitHub avatar KSXGitHub commented on July 3, 2024

Actually, I don't specify ssh_keyscan_types in my own repo (which always work). So you might want to remove it.

from github-actions-deploy-aur.

SquitchYT avatar SquitchYT commented on July 3, 2024

I am currently doing test with no ssh_keyscan_types

That is my repo : https://github.com/SquitchYT/Tess

from github-actions-deploy-aur.

KSXGitHub avatar KSXGitHub commented on July 3, 2024

The problem is that tess-git itself has no branch (I have just cloned tess-git into my machine). I don't know how is this even possible. Can you create a master branch first?

from github-actions-deploy-aur.

SquitchYT avatar SquitchYT commented on July 3, 2024

Thanks you for your help. All worked ^^.
You can also try Tess if you want.
Thanks you for that amazing action.
Bye

from github-actions-deploy-aur.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.