Giter VIP home page Giter VIP logo

Comments (9)

simonw avatar simonw commented on May 17, 2024

I'm going to build and deploy a SQLite database too.

from til.

simonw avatar simonw commented on May 17, 2024

I have the script now. Next step: build it into action which then pushes a commit to the repo with the updated README.

Need to make sure that the commit triggered by the action doesn't cause a new action run.

from til.

simonw avatar simonw commented on May 17, 2024

It worked! 897ac31

from til.

simonw avatar simonw commented on May 17, 2024

Last test: add a new TIL and see if it updates the README and deploys to Now.

from til.

simonw avatar simonw commented on May 17, 2024

89e810e didn't update the README for some reason.

https://github.com/simonw/til/runs/599796757?check_suite_focus=true

from til.

simonw avatar simonw commented on May 17, 2024

This is weird: https://github.com/simonw/til/runs/599813070?check_suite_focus=true

diff --git a/README.md b/README.md
index b7c3739..d186d07 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@ My Today I Learned snippets. Inspired by [jbranchaud/til](https://github.com/jbr
 * [Only run GitHub Action on push to master](https://github.com/simonw/til/blob/master/github-actions/only-master.md) - 2020-04-19
 * [Dump out all GitHub Actions context](https://github.com/simonw/til/blob/master/github-actions/dump-context.md) - 2020-04-19
 * [Set environment variables for all steps in a GitHub Action](https://github.com/simonw/til/blob/master/github-actions/set-environment-for-all-steps.md) - 2020-04-19
+* [Commit a file if it changed](https://github.com/simonw/til/blob/master/github-actions/commit-if-file-changed.md) - 2020-04-19
 
 ## python
 
Everything up-to-date

Why does it say Everything up-to-date when git diff clearly shows changes?

from til.

simonw avatar simonw commented on May 17, 2024

Oh! It's because I ran git add before that git diff:

        git add README.md
        git diff --quiet || git commit -m "Updated README"
        git push

from til.

simonw avatar simonw commented on May 17, 2024

Still not quite working right. https://github.com/simonw/til/runs/599821875?check_suite_focus=true broke:

Install_datasette-render-markdown_ยท_simonw_til_f5df21e

from til.

simonw avatar simonw commented on May 17, 2024

It's working now.

from til.

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.