Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Action get_assets.yml fails #2

Open
maawoo opened this issue Jun 1, 2023 · 0 comments
Open

GitHub Action get_assets.yml fails #2

maawoo opened this issue Jun 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@maawoo
Copy link
Owner

maawoo commented Jun 1, 2023

The action works well when testing locally with https://github.com/nektos/act, however when executed on GitHub the curl -sL commands return 403 forbidden instead of returning the page content like this:

>> curl -sL "https://ceos.org/ard/files/PFS/NRB/?C=M;O=D"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Index of /ard/files/PFS/NRB</title>
 </head>
 <body>
<h1>Index of /ard/files/PFS/NRB</h1>
  <table>
   <tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=A">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr>
   <tr><th colspan="5"><hr></th></tr>
<tr><td valign="top"><img src="/icons/back.gif" alt="[PARENTDIR]"></td><td><a href="/ard/files/PFS/">Parent Directory</a>       </td><td>&nbsp;</td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="v5.5/">v5.5/</a>                  </td><td align="right">2023-03-09 07:41  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="v5.0/">v5.0/</a>                  </td><td align="right">2020-06-15 21:04  </td><td align="right">  - </td><td>&nbsp;</td></tr>
   <tr><th colspan="5"><hr></th></tr>
</table>
</body></html>

There might be some workarounds but as this form of automation is more of a nice to have, I'll not investigate any further for now. Any hints are much appreciated!

@maawoo maawoo added the bug Something isn't working label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant