Skip to content

Github deprecated Ubuntu 18.04 #13

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

Open
simovic94 opened this issue Feb 12, 2023 · 1 comment
Open

Github deprecated Ubuntu 18.04 #13

simovic94 opened this issue Feb 12, 2023 · 1 comment

Comments

@simovic94
Copy link

I use this package v0.4 and an example from this github repo to make a backup on github. After GitHub deprecated Ubuntu 18.04 my action didn't work. I tried to change Ubuntu on 22 and try to change every package into github action but doesn't work. Does anyone have a similar problem or solution for this problem?

@carlosganzerla
Copy link

@simovic94 I just ported the shell code from the repo and worked for me:

name: deploy
on:
  release:
    types: [published]

jobs:
  sanity-deploy:
    runs-on: ubuntu-latest
    name: Deploy Sanity
    steps:
      - name: Checkout
        uses: actions/checkout@master
      
      - name: Deploy
        env:
          SANITY_AUTH_TOKEN: ${{ secrets.SANITY_AUTH_TOKEN }}
        run: npm install -g @sanity/cli &&
          sanity install && 
          SANITY_AUTH_TOKEN=$SANITY_AUTH_TOKEN &&
          sanity deploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants