Giter Club home page Giter Club logo

Comments (5)

jdan avatar jdan commented on May 13, 2024

Happy to set this up, but didn't know that was possible! Figured I needed to use the GitHub API to do any committing and pushing. Got docs for this handy?

from 98.css.

tpenguinltg avatar tpenguinltg commented on May 13, 2024

I don't have any experience with doing it in Travis myself (or with Travis in general), but you might find this Gist useful. The basic idea is to create a personal access token for authentication, but otherwise do your normal Git operations after setting Git's user details. You can see the Gist for details.

As for invoking this only on master, you can make use of a conditional stage or job.

from 98.css.

 avatar commented on May 13, 2024

I wonder if there is an equivalent in github actions through https://help.github.com/en/actions/reference/events-that-trigger-workflows. I just started playing around with this myself so it caught my eye.

I am not too experienced myself with this either, but I wonder if there are certain advantages between both of these 😄

from 98.css.

tpenguinltg avatar tpenguinltg commented on May 13, 2024

I saw a Travis CI config and thought that that was what was being used, but I see now that there are GitHub actions set up that actually do something. I'd recommend doing this with GitHub actions instead of Travis if that's what's being used.

from 98.css.

jdan avatar jdan commented on May 13, 2024

We don't check in dist anymore and have vercel running on commit :) Gonna close this as a no-op.

from 98.css.

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.